package com.piggy.logi.sys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 承运商车辆信息对象 logi_carrier_car
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_carrier_car")
public class LogiCarrierCar implements Serializable {

    private static final long serialVersionUID=1L;

    /** id */
    @TableId(value = "car_id")
    private Long carId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    /** 车牌号码 */
    @ApiModelProperty("车牌号码")
    private String licensePlate;

    /** 头车类型 */
    @ApiModelProperty("头车类型")
    private Integer headType;

    /** 车型 */
    @ApiModelProperty("车型")
    private Integer carType;

    /** 车长 */
    @ApiModelProperty("车长")
    private String carLength;

    /** 车宽 */
    @ApiModelProperty("车宽")
    private String carWidth;

    /** 车高 */
    @ApiModelProperty("车高")
    private String carHeight;

    /** 载重 */
    @ApiModelProperty("载重")
    private String loadCapacity;

    /** 体积 */
    @ApiModelProperty("体积")
    private String volume;

    /** 颜色 */
    @ApiModelProperty("颜色")
    private Integer color;

    @ApiModelProperty("行驶证号")
    private String drivingLicenseNo;

    /** 能源类型 */
    @ApiModelProperty("能源类型")
    private Integer energyType;

    /** 运输用途 */
    @ApiModelProperty("运输用途")
    private Integer transportUsage;

    /** 购买价格 */
    @ApiModelProperty("购买价格")
    private BigDecimal purchasePrice;

    /** 品牌类型 */
    @ApiModelProperty("品牌类型")
    private String brandType;

    /** 车辆识别代码 */
    @ApiModelProperty("车辆识别代码")
    private String vin;

    /** 车主姓名 */
    @ApiModelProperty("车主姓名")
    private String ownerName;

    /** 联系电话 */
    @ApiModelProperty("联系电话")
    private String contactNumber;

    /** 车主身份证 */
    @ApiModelProperty("车主身份证")
    private String ownerIdCard;

    @ApiModelProperty("车主所在地区县Id")
    private Integer ownerLocationDistrictId;

    @ApiModelProperty("车主所在地详细")
    private String ownerLocationAddress;

    @ApiModelProperty("车主所在地经度")
    private Float ownerLocationLng;

    @ApiModelProperty("车主所在地纬度")
    private Float ownerLocationLat;

    @ApiModelProperty("车辆定位区县Id")
    private Integer positionDistrictId;

    @ApiModelProperty("车辆定位详细")
    private String positionAddress;

    @ApiModelProperty("车辆定位经度")
    private Float positionLng;

    @ApiModelProperty("车辆定位纬度")
    private Float positionLat;

    @ApiModelProperty("行驶证附件")
    private String vehicleAttachment;

    @ApiModelProperty("车辆照片附件")
    private String carPicAttachment;

    @ApiModelProperty("其他附件")
    private String otherAttachment;

    @ApiModelProperty("车辆司机")
    private String driverInfos;

    /** 备注字段 */
    @ApiModelProperty("备注字段")
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    private Date createTime;

    private Date updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
}
